<%@page contentType="text/html; charset=Windows-31J" pageEncoding="UTF-8" isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-31J" />
<title>画像アップロード掲示板</title>
<link rel="stylesheet" type="text/css" href="/css/global.css" />
</head>
<body>
<jsp:include page="/pages/user/pc/include/header.jsp"/>

<div class="body">

TOP<br/>
<h1>画像アップBBS</h1>



<c:if test="${count > 0}">
<c:forEach var="thread" items="${list}" varStatus="status">
<table>
<tr>
<td colspan="2">スレッドNo. ${thread.threadId}</td>
</tr>
<c:forEach var="child" items="${thread.children}" varStatus="status">
<tr>
<td><c:out value="${child.childId}"/></td>
<td><c:out value="${child.title}"/></td>
</tr>
</c:forEach>
</table>
</c:forEach>
</c:if>

<c:if test="${count == 0}">
<table>
<tr>
<td>まだ投稿されていません。</td>
</tr>
</table>
</c:if>


</div>



<jsp:include page="/pages/user/pc/include/footer.jsp" />
</body>
</html>